package com.shopcart.service;

import java.util.List;

import com.shopcart.daoEx.model.StoreCommentEx;
import com.shopcart.domain.StoreComment;
import com.zy.store.proto.MOAppStore.MCommentList;
import com.zy.store.proto.MOAppStore.MMyCommentList;


public interface StoreCommentService {
	
	MCommentList.Builder findByStoreId(String storeId,Integer page,Integer limit);
	
	int countByStoreId(String id);
	
	void save(StoreComment storeComment);

	MMyCommentList.Builder myComment(String userId, Integer page, Integer limit);
	
	List<StoreCommentEx> selectExList(String search,String areaCode);

	StoreComment findById(String id);

	void deleteById(String id);

	List<StoreCommentEx> selectExList(String search, String areaCode,
			String storeId);

	String myCommentList(String userId, Integer page, Integer limit);

	String findByStore(String storeId, Integer page, Integer limit);
}
